package com.example.combwyaq.mvp.di;

import com.example.combwyaq.mvp.contract.LoginConteract;
import com.example.combwyaq.mvp.model.LoginModel;

import dagger.Module;
import dagger.Provides;

@Module
public class LoginModels {

    private LoginConteract.ILoginView iView;

    public LoginModels(LoginConteract.ILoginView iView) {
        this.iView = iView;
    }
    @Provides
    public LoginConteract.ILoginView loginView(){
        return iView;
    }
    @Provides
    public LoginConteract.ILoginModel loginModel(LoginModel model){
        return model;
    }

}
